package com.hwadee.JPKC.dao;

import java.util.List;

import com.hwadee.JPKC.entity.courseDeclare;

public interface courseDeclareMapper {
    int deleteByPrimaryKey(Integer serialNumber);

    int insert(courseDeclare record);

    int insertSelective(courseDeclare record);

    courseDeclare selectByPrimaryKey(Integer serialNumber);

    int updateByPrimaryKeySelective(int serialNumber);
    //全更新
    int updateByPrimaryKey(courseDeclare coursedeclare);
    //查用户id
    List<courseDeclare> selectUserId(Integer userId);
    //得到分页课程
    List<courseDeclare> getAll();
    //指定字段更新
    int updateByPrimaryKeySelective(courseDeclare coursedeclare);
    


}